from typing import List
class Solution:
    def findContinuousSequence(self, target: int) -> List[List[int]]:
        res = []
        left = 1
        right = 2
        while left<right:
            sum = (right-left+1)*(left+right)//2
            if target == sum:
                tmp = []
                for i in range(right-left+1):
                    tmp.append(i+left)
                res.append(tmp)
                left+=1
            elif sum<target:
                right+=1
            else:
                left+=1
        return res
